<%@ page import="java.util.Date" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Map" %><%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2021/9/14
  Time: 14:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" autoFlush="true" buffer="none" errorPage="500error.html" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>页面</title>
</head>
<body>
<%!
    private String username;
    private List<Object> objects;
    private static Map<String, Object> hashMap;
%>
<h1>这是h1标题</h1>
<h1><%= new Date()%>
</h1>
<%--JSP注释--%>
<!--HTML注释 -->
<%--表达式脚本--%>
<%= 1234%><br/>
<%= 12.34%><br/>
<%= "HelloWorld"%><br/>
<%= new Date()%><br/>
<%
    int i = 1 / 0;
%>
<%= i%><br/>

<%
    for (int j = 0; j < 10; j++) {
%>
<h1><%=j%>
</h1>
<%
    }
%>
</body>
</html>
